package com.archerdu.apply.service.impl;

import com.archerdu.apply.dao.CompanyDAO;
import com.archerdu.apply.model.Company;
import com.archerdu.apply.service.CompanyManager;
import com.archerdu.base.dao.IBaseDao;
import com.archerdu.base.service.BaseManager;

public class CompanyManagerImpl
        extends BaseManager<Company, Integer>
        implements CompanyManager {
    
    private static final long serialVersionUID = 9163067090144196614L;
    
    private CompanyDAO           companyDao;
    
    public CompanyDAO getCompanyDao() {
        return companyDao;
    }
    
    public void setCompanyDao(CompanyDAO companyDao) {
        this.companyDao = companyDao;
    }
    
    @Override
    protected IBaseDao<Company, Integer> getDao() {
        return (IBaseDao<Company, Integer>) companyDao;
    }
}
